package com.ruoyi.system.domain;

import java.util.List;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 停车场信息对象 part_lot
 *
 * @author ruoyi
 * @date 2023-11-30
 */
public class PartLot extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * ID
     */
    private Long partLotId;

    /**
     * 停车场编号
     */
    @Excel(name = "停车场编号")
    private String partLotNum;

    /**
     * 停车场名称
     */
    @Excel(name = "停车场名称")
    private String partLotName;

    /**
     * 停车场类型
     */
    @Excel(name = "停车场类型")
    private Long partTypeId;

    /**
     * 停车场类型名称
     */
    private String partTypeName;

    /**
     * 停车场类型信息
     */
    private List<PartType> partTypeList;

    public void setPartLotId(Long partLotId) {
        this.partLotId = partLotId;
    }

    public Long getPartLotId() {
        return partLotId;
    }

    public void setPartLotNum(String partLotNum) {
        this.partLotNum = partLotNum;
    }

    public String getPartLotNum() {
        return partLotNum;
    }

    public void setPartLotName(String partLotName) {
        this.partLotName = partLotName;
    }

    public String getPartLotName() {
        return partLotName;
    }

    public void setPartTypeId(Long partTypeId) {
        this.partTypeId = partTypeId;
    }

    public Long getPartTypeId() {
        return partTypeId;
    }

    public List<PartType> getPartTypeList() {
        return partTypeList;
    }

    public void setPartTypeList(List<PartType> partTypeList) {
        this.partTypeList = partTypeList;
    }

    public String getPartTypeName() {
        return partTypeName;
    }

    public void setPartTypeName(String partTypeName) {
        this.partTypeName = partTypeName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("partLotId", getPartLotId())
                .append("partLotNum", getPartLotNum())
                .append("partLotName", getPartLotName())
                .append("partTypeId", getPartTypeId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("partTypeList", getPartTypeList())
                .toString();
    }
}
